home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 2 / Apprentice-Release2.iso / Tools / Languages / MacHaskell 2.2 / progs / lib / cl / random-prims.hi < prev    next >
Encoding:
Text File  |  1994-09-27  |  528 b   |  21 lines  |  [TEXT/YHS2]

  1. -- random-prims.hi -- interface file to random number primitives
  2. --
  3. -- author :  Sandra Loosemore
  4. -- date   :  22 June 1993
  5. --
  6.  
  7.  
  8. interface RandomPrims where
  9.  
  10. randomInt    :: Int -> IO Int
  11. randomInteger   :: Integer -> IO Integer
  12. randomFloat     :: Float -> IO Float
  13. randomDouble    :: Double -> IO Double
  14.  
  15. {-#
  16. randomInt    :: LispName("lisp:random"), Complexity(5)
  17. randomInteger    :: LispName("lisp:random"), Complexity(5)
  18. randomFloat    :: LispName("lisp:random"), Complexity(5)
  19. randomDouble    :: LispName("lisp:random"), Complexity(5)
  20. #-}
  21.